package com.jwork.progress.service.job;

import org.quartz.*;

import java.util.Date;

public class SampleJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        JobDataMap jobDataMap = context.getJobDetail().getJobDataMap();
        // 具体执行业务逻辑
        System.out.println("任务执行中：" + new Date());
        // 添加业务代码
    }
}
